package com.lbmb.mdps.workbench.service;

import com.lbmb.mdps.commons.domain.PurchaseReceive;
import com.lbmb.mdps.commons.domain.PurchaseVo;
import com.lbmb.mdps.commons.domain.UserReceive;
import com.lbmb.mdps.commons.exception.PurchaseException;
import com.lbmb.mdps.workbench.domain.Purchase;

import java.util.List;

/**
 * @author 林文塨
 * @date 2022-06-01 2:14
 * description
 */
public interface PurchaseService {

    Integer getPurchaseTotal(PurchaseReceive purchaseReceive) throws PurchaseException;

    List<PurchaseVo> purchasePageList(PurchaseReceive purchaseReceive) throws PurchaseException;

    void editOrderState(UserReceive userReceive) throws PurchaseException;
}
